//  @ Project : GagalPanen
//  @ File Name : seed.hpp
//  @ Date : 3/9/2011
//  @ Author : Irvan
//
//


#if !defined(_SEED_H)
#define _SEED_H

#include "item.hpp"
#include "itemtype.hpp"
#include "plant.hpp"
#include "gameinterface.hpp"

#include <string>

class Seed : public Item {
public:
  // normal constructor
  Seed(GameInterface* game, int seed_id);

  // load game constructor
  Seed(GameInterface* game, std::ifstream& is);

  virtual void save(std::ofstream& os);

  virtual ~Seed();

  int getId();
  ItemType getType();
  bool isSeed();
  std::string getName();

  /* Sell price */
  int getPrice();
  int getPlantId();

  virtual std::string getDescription();

private:
  int seed_id_;
};

#endif  //_SEED_H
